package com.cyzy.mapper;

import com.cyzy.dao.UserRoleDao;
import com.cyzy.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    UserRoleDao getUserRole(@Param("userId") int userId);

    List<UserRoleDao> getTeacherList(UserRoleDao userRoleDao);
}
